package com.leonzx.base.utils;

/**
 * @Author:梁亮
 * @Description:
 * @Date: 2018/6/25 15:40
 */
public class RedisConstants {

    public static final String USER_TOKEN = "user_token:";

    private RedisConstants() {
    }

    public final static String MENU_KEY = "MENU";
    public final static String MENU_ID_KEY = "MENUID";

    /**
     * shiro在redis中的缓存键
     */
    public final static String SHIRO_REDIS_CACHE = "shiro_redis_cache";
    /**
     * 记录用户登录时间
     */
    public final static String SHIRO_REDIS_USER_LOGIN_TIME = "shiro_redis_user_login_time";
    /**
     * 记录用户登录IP
     */
    public final static String SHIRO_REDIS_USER_LOGIN_IP = "shiro_redis_user_login_ip";
    /**
     * 记录用户菜单设置
     */
    public final static String SHIRO_REDIS_USER_LOGIN_MENU = "shiro_redis_user_login_menu";

    /**
     * 记录IM用户是否登录
     */
    public final static String JIM_USER_STATUS = "jim_user_status:";
}
